package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap55 extends OSMap
	{
		public function OSMap55()
		{
			super();

			var ground:OSGround = new OSGround(0, 680, 140, 20, 0, false);
			ground.setNoErosionUp([5, 6]);
			ground.setNoErosionDown([0, 1, 2, 3, 4]);
			ground.setNoErosionLeft([0]);
			ground.erode();
			add(ground);

			ground = new OSGround(0, 700, 100, 20, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4]);
			ground.setNoErosionDown([0, 1, 2]);
			ground.setNoErosionLeft([0]);
			ground.erode();
			add(ground);

			ground = new OSGround(0, 720, 60, 20, 0, false);
			ground.setNoErosionUp([0, 1, 2]);
			ground.setNoErosionLeft([0]);
			ground.erode();
			add(ground);

			ground = new OSGround(100, 660, 300, 20, 0, false);
			ground.setNoErosionUp([14]);
			ground.setNoErosionDown([0, 1, 7, 14]);
			ground.erode();
			add(ground);

			ground = new OSGround(220, 740, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(380, 620, 20, 40, 0, false);
			ground.setNoErosionDown([1]);
			ground.setNoErosionRight([0]);
			ground.erode();
			add(ground);

			ground = new OSGround(380, 680, 20, 400, 0, false);
			ground.setNoErosionUp([0]);
			ground.setNoErosionLeft([6]);
			ground.setNoErosionRight([4]);
			ground.erode();
			add(ground);

			ground = new OSGround(400, 620, 560, 20, 0, false);
			ground.setNoErosionDown([6, 20, 27]);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([27]);
			ground.erode();
			add(ground);

			ground = new OSGround(380, 700, 180, 20, -45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(780, 700, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(940, 640, 20, 440, 0, false);
			ground.setNoErosionUp([0]);
			ground.setNoErosionLeft([6]);
			ground.setNoErosionRight([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]);
			ground.erode();
			add(ground);

		}
	}
}
